public class Lesson01数据类型 {
    public static void main(String[] args) {
        String name = "manqiao";
        System.out.println(name);
        String 王者 = "王者荣耀";
        System.out.println(王者);
        int i1 = 10;
        System.out.println(i1);
        int i2 = 0b10;
        System.out.println(i2);
        int i3 = 010;
        System.out.println(i3);
        int i4 = 0x10;
        System.out.println(i4);
        int i5 = 0x11;
        System.out.println(i5);
        //do not use float type to compare!!!
        //use class BigDecimal
        float f1 = 0.1f;
        System.out.println(f1);
        double d1 = 1.0/10.0;
        System.out.println(d1);
        System.out.println(f1 == d1);
        float f2 = 23233333f;
        System.out.println(f2);
        float f3 = f2 + 1;
        System.out.println(f3);
        System.out.println(f2 == f3);
        char c1 = 'a';
        System.out.println(c1);
        char c2 ='中';
        System.out.println(c2);
        System.out.println("hello,world");
        //转义字符 \t \n
        System.out.println("hello\tworld");
        System.out.println("hello\nworld");
        boolean flag = true;
        // if(flag){}
    }
}